﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyWebapi.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class TestController : ControllerBase
    {
        /// <summary>
        /// 哈哈哈
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string A()
        {
            //return Request.Path;      // /Test
            return Request.Host.Value + "/REST/Order/GetHisOrderList";
        }
    }
}
